const path = require('path');

function resolve(dir) {
    return path.join(__dirname, dir);
}

module.exports = {
    resolve: {
        alias: {
            '@': resolve("src"),
            modules: resolve('src/modules'),
            admin: resolve(`src/modules/admin`), //projectA: resolve('src/modules/projectA')
            dataV: resolve(`src/modules/dataV`),
            smartV: resolve(`src/modules/smartV`),
            h5: resolve(`src/modules/h5`),
            sc: resolve('src/modules/admin/smartCampus'),
        }
    }
};
